package com.jiuxian.scheduling.util;

/**
 * Created by wangjingqing on 2017/12/18.
 */
public enum  ProtocolEnum {
    dubbo("dubbo",1),
    http("http",2),
    local("local",3);

    private String name;
    private int code;

    ProtocolEnum(String name,int code){
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
